package com.ty.xiaoyu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class HomePageRotationChart {
    String rotationChartId;
    String rotationChartName;
    String rotationChartLink;
    String rotationChartImage;
    Integer rotationChartPriority;
    Integer rotationChartState;
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss'Z'")
    LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss'Z'")
    LocalDateTime lastEditTime;
}
